<?php

namespace app\model;

use app\BaseModel;
use think\model\relation\BelongsTo;

/**
 * 干预人群-异常行为表现标签
 */
class InterfereBehaviorModel extends BaseModel
{
    protected $name = 'interfere_behavior';

    /**
     * 异常行为表现
     * @return BelongsTo
     */
    public function CrisisBehavior(): BelongsTo
    {
        return $this->belongsTo('CrisisBehaviorModel','behavior_id')->bind([
            'behavior_name' => 'name',
        ]);
    }
}